Laravel retrieving aggregates

45

$count = Flight::where('active', 1)->count();

$max = Flight::where('active', 1)->max('price');

Comments

Submit
0 Comments